better styling on errors