fixed a couple more errors