return empty string when the input is all space