fix initialize and finalize