minor errors
more minor error fixes