fix for issue #279