fix api v1 not working. fixes #777