undo isprogress code