remove unused typedef to avoid compiler warning and keep code clean.