do not get the first character of an empty string