fix Upper/Lower case trasnformer logic error