fix for issue #275