move tmp to dependencies