fixed null reference in Marker Template Selector