array_store number offset fix