corrected initLoader with restartLoader