fixed bug 2626
Merge pull request #2731 from StevenPuttemans:bug_2626