Fix bug in unflip