sessions extension fixes