small fix to type argument