Fixed route parsing bug