error notification fix

I think `center` is deprecated. There is some CSS attribute you should use instead.