fixed stdout macro