cleanup register route