fix site rule api bug