check for no terms and add package.json