Fix the way to draw the markers that are stored in db