avoid engine leak in intrinsics