fix date reset functionality, closes #114