fixes a terrible mistake