strip out mismatched comments