fix resource ordering an amportal reload exec