fix for https://github.com/openpeer/hcs-instance-v1/issues/167