fix .conf check