fix engine switcher