remove useless logs