Customizing after revert but error occures