Revert "Fixed global BEM variable"

This reverts commit 5be430c4a74b05e707eb8ac536c44fd3894ad3a6.