add missing typename keyword