add defaultValue for path param