kill references in lib_sync