minor fix in viewgoal for anon user