GUI: fix warning