removing images not used