fix admin vs pub view