revert to resourcecontroller