fix config read library