Handle empty string