log fix
Warnings fixed