fix button click