fixing some more errors