added mids class to alerts