ensure markers are destroyed before creating new ones

this looks fine