clean nodes