remove unused register template