fixes a regression