fixe marking in some situation

- at start program;
- after changing mode;