Fixed xapitalize on empty string