Fixed call to goal.get