fix tmp dir for slum env.