remove final gui dependant code