fix missing finalize method