fix function order in typelist namespace