add little fix for date when creating session