optimize config package