add typename for gcc