bugfixes at minimotor