fix minor type wrt loggin