fix unit of parameter passing from controller to g-code interpreter