rm tmp
fix log