fix page visibility