added LogWarning printout