delete old template