Bugfix of linemarker removing.