bug with infodict_buffer
truncate was causing bugs?
use entryCache