Proper fix for img_class