fixed wp_route parsing bug