improve display errors behaviour