work with fragments errors