added cleanup code for reminders