Fix the validator

bug was making it freeze for everyone