wrong json code fixed