remove slashes from api endpoints