Refixing deletion bug