Fixed wrong variable name.