delete the skinfactory in wrong place