storing start date correctly