apply patch to bm

https://www.drupal.org/node/1558680