fixed a really stupid flippedness bug