move config to top