Cleanup instruction loop
Remove unused var