removed debug code, added failure callback for finalize function and trying deep watch statement