Fix #85, bad message when api is broken