fix some route stuff