styling and formatting for errors