fix longterm memory alerts