fix inability to use api