fix issue where content get duplicated and add config.json