validation script catches NoneType