fix mistaken var