fix: simplify marker logic