added tmp dir deletion