fixed problems with is_chiral_match