corrected the bad results from finalizer