move fetcher and logs to middlewares
some job fixes