fix advanced section visibility