Wrong document variable