removing scratch dir