fixed error in routes caused by name mismatch