update bowerrc and fix bug