Fixed errors with config