add better continue marker check