fix undefined method error on goals/index