avoid deprecated error as per add-ono review