another try to get rid of checkLog.expect