add replace dir to mark
upd