cleaned unnecessary resources