fix use array for import from rest