fix request api bug