fix bug in del using wrong table name