fix proxy pre-allocation for future objects in a file