fix analysis json and template