remove redundant logs