Note: It should be “altogether”. “Altogether” is an adverb, modifying the verb “avoid”, meaning “completely or utterly”. “All together” is just a phrase that means that things are in a group. Example: “My family was gathered all together for Thanksgiving and we were altogether disappointed by my mother’s cooking.”