fix reverts