fix error in machine