fix api load path