fix utf-8 issue and a missing variable in reminder.py