Rewrited lib/lib_route