fixed more typos

	... and removed several warnings