minor fix when allocating a fixed empty buffer