remove useless res/class