Fixed validation issue in think.