fixed goal reset bug