implement delete attribute by reorganize hidden class

not sure whether we need to retain the orders of the remaining attributes