bug fix for match validator