fixed bug when reminder was send