v0.1.5 - fix possible error in cleanLogObject