fix broken GUI only usage

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>