handle multiple uppercase chars correctly