refactor to be consistent with mina-sidekiq