Fix errormessage on config page. closes #1951