add defaultValue for path params