0107. bugfix mode6

fixes #633