actually fixes #95

this was one hard bug to track down