Fixed warnings and add block fetcher

#review