fix for issue#164

fix for issue#164