cleaning up the temp directory created after itself