correction for delete tmp dir