rename and clear