Fix undef error on 'print'