fiex bugs in fetch data corresponding to classes