try to fix stdio