fix error window on coa edit page