json check fixed issue