Fixed earlier revert errors