wrap validators in try block