change order of fn name resolution