normalizing config