fix incorrect json caching