Fix for errors in logs

Fix for errors in logs