fixing apis