made AV stuff compile against new API