fix erratic marker exception