fixed left-right button bug