patch from #744; thanks Tristan