removes useless logs