fixed issue with view_goal view