remove tmp method