Fix params parsing in Path