removing unnecessary resources