Fixing array converting.