change upperstr and lowerstr