error when deregistering old images