fixed bug on API page