adding error styles