well, this wasn't the fix i was thinking of for #1893, but it works and I don't know why I didn't do it in the first place