removed unnecessary typename keyword (fix for building on mac)