fix log err