fixed typo with dimensions_set
storing dates in session