empty string dealt with