fix location -> array|list base