Fix logging error in assign return route