changes to resque check