empty string check in deserialize