fixed missing typename in template