variable correction