getting rid of gui