Fix typo in local variable