condtional error change