remove the unnecessary logs