Fixed using wrong variable