tweak to api.html