remove testing code in codelistmanager