Fixed deletion for new build