getting rid of old template