fixing json provider