fixed marker bug