fixing for config errors