Fix release errors