see discussion in #863
see discussion in #863