removing useless logs