removed errors for empty matches
Merge pull request #2 from psyco01/master

removed errors for empty matches