fixing api code