Fixed print() with sandbox