fixed dirty marking