fixed some config errors