fixed a bug with button_down