added error panel