some fixes in config