fixes #2283
Merge pull request #2285 from enesakar/issue2283-bp

fixes #2283