Fixed trim bug
Merge pull request #8 from joegreen88/master

Fixed trim bug