Remove unused variable iter