change temp errors logic