Fix empty sting case