fix error message in form, chrts not fixed