delete old main