now checks if the page is published
fixed main level navigation bug