fix let/loop collecting