better error handling for matches without data