Fix mistyped function reference