fix #722, api limitation