ignore freetypes warning and cleanup type