fixed bug with OBJ datastream