fix read conf