Fixed adding goal bug.