fix the reminder bug