fixes merge with the alloc