remove log lines, bad comments