fixing config the right way