cleans up directory