Unite error check

Minor edit.  Merging soon if no comment.