link dropdown and map. fix map problems