added directions on map but only one is working