fixed an error in copy of ItemAtPos Value