fixed unused typedef warnings