Single and profile page is partially working