fixed machine form bug