fixed issue with empty string