gateway was loading wrong config section