Fix mime bugs
Merge pull request #25 from jonnii/mime-bugs

Fix mime bug