fix viewgoal.html