updated condition for map loading, get data if selected=0