cleanup init check