fix for https://github.com/ukwa/shine/issues/33