check string == nil for md5