display only when error did not passed