fix bugs and rate
Merge branch 'master' of https://github.com/BibAlex/bhl_rails
fix conflict