Fix minor issues in flip methods