prevent null exception while cleaning markers