remove old types template