fixed the types setter to set recorddelimiter and fielddelimiter if not set.