fix get data bug