cleanups to b-dbl-prime