changed behaviour when removing images