Fix some configurations.