Fixed double 'var' error. Build should now pass