fix events and resque