fix db fetchAll