Stop creation of other types if char array is specified