some safety in lslogerror