improve BfprimSpec: remove trailing spaces