PrimitiveArray issue fixed