show error info after button clicked