fixes #1120 again

<CovertJaguar> though personally it would be better to make the hook return the value to adjust it by