clear API code

clear API code