fixes issue #2882
Merge pull request #2892 from FinalAngel/develop

fixes issue #2882