fix addon to comply with latest change in the API