remove ajax call to get the data second time