Fixed Delete errors