improve errer panel