fix for issue #283

fix for issue #283