Fix invalid variable