session fixes
session fixes template