add move and purge
add method to clean tmp