fix qs type to array