fix stdio
add comment.
wip