a couple errors fixed