implement switch error icon display