fix function in type list