remove the unneeded GUI