fixed marker refreshing problem