very minor optimization to clean