fix for issue#168