fixed pointer to api