remove unnecessary resources
fixing resource inclusion