refactoring circle id for librs