remove tmp files
fill init and exit