fixes the bug that it will fail to require a json file; fixes #14