fixing some issues with printing from interpreter.