fix: don't use array as param