remove temporary directories