fixed a issue loading conf files