Fixed bug on empty string