comment error styles and page navigation