fix dist
replace smartmatches (#3)