Correctly delete artifacts