Fix finalize action