v0.0004 fixed the delete method