fetch ids done
bugs corrected