cleaning up router