corrected gui/cterm error