fix wrong  copying block in main()