removing unneeded logs