small change to package restore