made some corrections to machineplayer