fix log type mistake.