Fix json

and add detail html