fix issues with q2t cache realloc