fixes strange new bug that just showed up out of nowhere