showing and hidding errors