fix power and motor issue