fix viewing for anonymous users