repair goal in planPath (initiate goal.tm 0)