bug fix; fetch all data