clean up simple byte-compile warnings
use let instead of setq