revert loop change