refactor(alert): clean-up unused variables