segmentation fault fix in OBJ parser.