fixing machinename casing