Fixed a wrong variable call.