Fix issue with using wrong variable