fix button logic