fix in lib-rem