add border for error box