fixes #39

Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>