fixed edit_as_new image problem