fixed problem with error styles