Clean routes correctly.