fix up some dumb errors