fix message_id = nil issue in reminder_controller