fix for array-maps with more than 8 keys