rewrite marker fix