Fixed minor typo in variable name
Merge pull request #1019 from BastianHofmann/bug/typo-model-mode

Fixed minor typo in variable name