deleted old class and resource objects