remove rest.class