optimize revert project action