fix empty config.json bug