getMotorStateMap fixed stateMap null