Move put to the end of template build cause without synchronization other threads can see not initialized version