fixed matches error