improvement on config