new method truncateNullable