bugfix in mode 8