fixed bug with startDate
fixed bug with startDate and fix bug in demo