repair of GUI