moved fee config to the top