fix max temp file in argument