removed isolated scope for alerts