revert code fix