sync
fix tmpdir test