removes unecessary logs