Fixed adding marker issue