I can print out the result without issues, and it seems working perfectly, I don't understand the mechanism behind this failure.