fix missing the first marker issue