clean getMachines