remove redundant typedef