fixed typedef