fixes#2842
Merge pull request #2844 from hasancelik/fixes#2842

fixes#2842