revert startline, document flipping