fix for issue 186