more fixes on config