fixing os name case problem