properly destroying markers