Bug fix: alert class on wrong element.