fixing configuration order