fix cockpit config