removed debug info. Force stdout flush