done() is now called with the right parameter