external tutorial cleanup