fixed issue #2445

Signed-off-by: Viktor Gal <viktor.gal@maeth.com>