Fixed issue 197. Resolves #197.
Merge pull request #198 from Kae7in/david-fix197

Fixed issue 197. Resolves #197.