more fixes for nested chunks

- fixed method to get data associated with chunk ID
- isComplete now works for root type chunk