Check data type before submitting from generators