[Alert] module rewritten