connmark fix for issue #23