updated json and fixed error