fixed matches()