remove marker implementation