if the field was the enum type and one of its options have the 'int' on it it was assuming that the field was an int