fixed missbehavoir in matching, added quiet flag