Fixed Delete Bug