Fix bug: grap extension api