checkwrite delete