solved little issue with match()