Fixed var check