Fix sidekiq crashes