improve delete markers. Needed for interaction with search widget