goal state correction