fix the return type when param is not mentioned