fixed wrong variable usage