Fix shutdown metadata