bugfix typos from pep8 updates.
single flip working.