Fix reference of api