bugfix #4248

Signed-off-by: Umair Khan <omerjerk@gmail.com>
Merge pull request #871 from omerjerk/QA_4_1

bugfix #4248