fix some log error