Fix variable use