fixed buttons disappearing issue