bugfix #4248

Signed-off-by: Umair Khan <omerjerk@gmail.com>