solve link db-app issue
remove temp files