fixed buttons glitch