fixed a corruption in slab.c