Changed style and make error notices work