fix primitive array type