clean up on routing