cleaning up random routing