removing the temp bits