fixed some bugs on reminder;