fixed hiding buttons