fix bugs && add two-way bound of motor power