fix the bower package inheritance