further tweak to api.html