Fix typo (== not !=)
initialize unit config if not set