fix for issue #63

Signed-off-by: Kirill Mikhailov <kirill.mikhailov@gmail.com>