tweaks to optimizers.