fix mspengine and msi engine