fix 'final_fee' referenced before assignment when unspent empty