(bluefox) check errors if invalid object.