fix some more errors