minor fixes with session amplify and packages