tmp directory delete issue fixed