Change 'warning' class to 'error'