fixed bug in DeleteFixup