delete or block if no rows left