fixed bug where date was wrong for each new day added