bugfix for match, upto v0.1.2