fix cardeditor