fixed styling of errors