fix for issue 182