fixed unable to find tmp