Fix incorrect variable declaration