preparing infowindow