fixed the app <-> engine interop