fixed the bug related to getMarkRel