Fixed some config system