a little optimize recognition of function type from function name