some OBJ error checking