fix a couple more errors