Fixed two bugs about Alert import and colors in stats