fixes some config