fixes a couple things