Fix use of wrong variable