process.json bug fix