string to int in pos current route