fix lookup of engine path