remove scary typedef as it is not used anywhere