minor fixes

removing unnecessary logging
typo fix
get rid of some warnings