exaggerate the off-axis effect, fix double variable declaration