Corrected bug that markers do not go away