fix call done() multiple bug.