error class styling fix