fixed buttons blinking