fixed issue in bower.py