fix typedef