fixed issues by normalizing config