ajaxification and error message overwrite