- added a hook at beginning of left_main