correct function name
pedantic mktemp style fix