fixing an API breaking Typo

@passos @qmx  care to take a looks?