removes unnecessary assets