Properly delete old stuff to fix syntax