Some changes to motor engine fixed