fix #5 api OK