fixed broken typedef