fix compile for waves backend, after recent API change