Fixed route error on reverting from imporsonation