Fix gui configuration