tweak some variable types