Fixed small deletion bug