del from table correctly