BUG: retain writeable flag when indexing subclasses

fixed