fixing config bug