Fixed displaying errors