replace pull by fetch