Bug fix processing remaining images