fix for issue 78