Fix tasks#index loader