flip image bug fix #39
Merge pull request #40 from blackm00n/issue_39

flip image bug fix #39