hiding buttons working