if no placeholders in route, param array should be empty

Created separate branch with param array fix