Fix using the wrong interface