fix default param type to string