Fixes a couple missing var settings