fix rename attributes  closed -> is_closed