Bug correction: pair generation for sequences of one image