fixed missing tmp cleanup
Merge pull request #351 from lduchosal/master

fixed missing tmp cleanup