makes the markingTool more stable