remove unnecessery images