detect markers and add xwarp