modify string type for null value