fixed the fix of the report api bug