fixed gui after Wim's changes