Fixed motor init problem.