revert all changes after build