fix handle button click