librep cleanup