fix last / on apis