Fix wrong variable usage.