remove deprecated codec calls