fix visible bug