fixed return value of internalGetItem