minor refactorings in the bower