Fix pre/post errors
Merge pull request #247 from edmundcraske/patch-1

Fix pre/post errors