supporting for new resque 2.0.0