route parsing fixed