Remove uneeded images