fix for hiding the marker