fixed goal and stepsTarget bug