fix puts race condition