return early (and correctly) in case of empty string