fix empty logs showing