fix api folder bug